<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>添加员工</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="../../../elementUI/index.css">
    <link rel="stylesheet" href="../../../css/index.css">
</head>
<style>
    ::-webkit-scrollbar {
        width: 8px;
        transform: translateX(8px);
        position: absolute;
        right: 0;
    }

    ::-webkit-scrollbar-thumb {
        background-color: rgb(139, 139, 139);
    }
</style>

<body>
    <div id="app" class="minWidth">
        <div class="table_titel" style="display: flex;justify-content: space-between;">
            <div class="titel">组织信息</div>
        </div>
        <el-form ref="form" :inline="true" :model="IO_form">
            <el-descriptions style="margin-bottom: 30px;" :column="1" border
                size="small">
                <el-descriptions-item label="组织名称">
                    <el-form-item>
                        <el-input placeholder="请输入组织名称" v-model.number="IO_form.Organization_Name" clearable>
                        </el-input>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="组织介绍">
                    <el-form-item>
                        <el-input type="textarea" placeholder="请输入组织介绍" v-model.number="IO_form.Organization_Introduce" clearable>
                        </el-input>
                    </el-form-item>
                </el-descriptions-item>
        </el-form>
        <div class="table_titel" style="display: flex;justify-content: space-between;">
            <div class="titel">部门信息</div>
            <div>
                <el-button @click="AddEmployee" size="small" type="primary">增加</el-button>
                <el-button @click="RdcEmployee" size="small" type="danger">删除</el-button>
            </div>
        </div>
        <el-form ref="Childrenform" :inline="true" :model="IO_form.Children">
            <el-descriptions style="margin-bottom: 30px;" v-for="(item,i) in IO_form.Children.employee_department" :key="i" :column="1" border
                size="small">
                <el-descriptions-item label="部门名称">
                    <el-form-item>
                        <el-input placeholder="请输入部门名称" v-model.number="item.Department_Name" clearable>
                        </el-input>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="部门介绍">
                    <el-form-item>
                      <el-input type="textarea" placeholder="请输入部门介绍" v-model.number="item.Department_Introduce" clearable>
                    </el-input>
                    </el-form-item>
                </el-descriptions-item>
        </el-form>
        <div
            style="display: flex;justify-content: center;position: fixed;width: 100%;z-index: 100;background-color: #fff;bottom: 0;">
            <el-button :loading="IB_loading" @click="submitForm('form')" type="primary">提交</el-button>
            <el-button @click="back" type="primary">返回</el-button>
        </div>
    </div>
    <script type="text/javascript" src="../../../js/jquery-3.6.0.min.js"></script>
    <script type="text/javascript" src="../../../js/jquery.cookie.js"></script>
    <script type="text/javascript" src="../../../js/tablesMergeCell.js"></script>
    <script type="text/javascript" src="../../../js/vue.min.js"></script>
    <script type="text/javascript" src="../../../elementUI/index.js"></script>
    <script type="text/javascript" src="../../../js/utils.js"></script>
    <script type="text/javascript" src="./js/Edit.js"></script>
</body>

</html>